const key = '88c42d2ad56e019a2ba475208bbec347'
/* 天地图 */
const tianditu = new ol.layer.Tile({
  title: 'tianditu',
  source: new ol.source.XYZ({
    url:
      'https://t0.tianditu.gov.cn/DataServer?T=vec_w&x={x}&y={y}&l={z}&tk=' +
      key,
    wrapX: false,
    crossOrigin: 'Anonymous',
  }),
})
const tiandituImage = new ol.layer.Tile({
  title: 'tiandituImage',
  source: new ol.source.XYZ({
    url:
      'https://t0.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk=' +
      key,
    wrapX: false,
    crossOrigin: 'Anonymous',
  }),
})
export { tianditu, tiandituImage }
export { tianditu as gaode, tiandituImage as image }
